<template>
  <div id="app">
    <Header class="fixed-top" ref="head"></Header>
    <div style="height: 60px"></div>
    <router-view @login="login()"></router-view>
    <Foot></Foot>
  </div>
</template>

<script>
import Header from "./components/Header";
import Foot from "./components/Foot";
export default {
  name: 'App',
  components: {Foot, Header},
  methods:{
    login(){
      this.$refs.head.login();
    }
  }
}
</script>

<style>
</style>
